Document Solutions for PDF
DS.Documents.Pdf Assembly / GrapeCity.Documents.Pdf.Spec Namespace / IPdfDictExt Class / GetMatrix Method / GetMatrix(IPdfDict,PdfName,Nullable<Matrix3x2>) Method
The current dictionary.
The key of the value to get.
The default value.

In This Topic
    GetMatrix(IPdfDict,PdfName,Nullable<Matrix3x2>) Method
    In This Topic
    Gets the System.Numerics.Matrix3x2 associated with the specified key (in a PDF a System.Numerics.Matrix3x2 should be represented as an array of 6 floats).

    Gets defValue if the value does not exist or cannot be converted to a System.Numerics.Matrix3x2.

    Adds a warning to GrapeCity.Documents.Pdf.GcPdfDocument.ParserLog if the value cannot be converted to a System.Numerics.Matrix3x2.
    Syntax
    'Declaration
     
    Public Overloads Shared Function GetMatrix( _
       ByVal dict As IPdfDict, _
       ByVal key As PdfName, _
       ByVal defValue As System.Nullable(Of Matrix3x2) _
    ) As System.Nullable(Of Matrix3x2)
    public static System.Nullable<Matrix3x2> GetMatrix( 
       IPdfDict dict,
       PdfName key,
       System.Nullable<Matrix3x2> defValue
    )

    Parameters

    dict
    The current dictionary.
    key
    The key of the value to get.
    defValue
    The default value.

    Return Value

    The value associated with the specified key.
    See Also